<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>404</title>
	<script>
		window.onload = function(){
			var time = 5;
			setInterval(function(){

				if(time ==0 ){
					window.location.href = "http://www.baidu.com"
				};
				document.querySelector("span").innerHTML = time
				time--
			},1000)
		}
	</script>
</head>
<body>
	<p>chucuola</p>
	<span>5</span>
</body>
</html>